package com.wdd.libarouter.impl

import android.content.Context
import android.net.Uri
import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.facade.service.PathReplaceService
import com.wdd.libarouter.config.ArouterPathConfig

/**
 *
 * @ProjectName:    OwnTool
 * @Package:        com.wdd.libarouter.impl
 * @ClassName:      PathReplaceServiceImpl
 * @Description:     path路径替换操作
 * @Author:         王丹丹
 * @CreateDate:     2019/12/3 15:58
 * @UpdateUser:     更新者
 * @UpdateDate:     2019/12/3 15:58
 * @UpdateRemark:   更新说明
 * @Version:        1.0
 */
@Route(path = ArouterPathConfig.PATH_SERVICE_PATH)
class PathReplaceServiceImpl : PathReplaceService {

    override fun forString(path: String?): String {
        return path!!
    }

    override fun forUri(uri: Uri?): Uri {
        return uri!!
    }

    override fun init(context: Context?) {
    }
}